package model;

import java.util.Date;

/**
 * Created by 杨珂 on 2016/8/9.
 * 用户信息表
 */
public class User {
    private int userId;//用户编号
    private String userName;//用户姓名
    private String userAddress;//用户地址
    private String userCareer;//用户职业
    private Date openTime;//开户时间
    //构造函数
    public User(String userName, String userAddress, String userCareer) {
        this.userName = userName;
        this.userAddress = userAddress;
        this.userCareer = userCareer;
        this.openTime = new Date();
    }
    //空构造函数
    public User() {
    	
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    public String getUserCareer() {
        return userCareer;
    }

    public void setUserCareer(String userCareer) {
        this.userCareer = userCareer;
    }

    public Date getOpenTime() {
        return openTime;
    }

    public void setOpenTime(Date openTime) {
        this.openTime = openTime;
    }
}
